USE DB_TCC
IF EXISTS(SELECT 1 FROM SYSOBJECTS WHERE NAME LIKE 'P_CANDIDATURA_EXCLUIR')
	DROP PROCEDURE P_CANDIDATURA_EXCLUIR
GO
CREATE PROCEDURE P_CANDIDATURA_EXCLUIR(
	@IDCANDIDATURA INTEGER)
AS BEGIN
	DELETE FROM CANDIDATURA WHERE IDCANDIDATURA = @IDCANDIDATURA
END